package com.newx.common.core.constant;

/**
 * 缓存的key 常量
 *
 * @author Lion Li
 */
public interface CacheConstants {

    /**
     * 在线用户 redis key
     */
    String ONLINE_TOKEN_KEY = "online_tokens:";

    /**
     * 参数管理 cache key
     */
    String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    String SYS_DICT_KEY = "sys_dict:";

    /**
     * 登录账户密码错误次数 redis key
     */
    String PWD_ERR_CNT_KEY = "pwd_err_cnt:";


    /**
     * 提现消息KEY
     */
    String WITHDRAW_KEY = "withdraw_key";
    /**
     * 提现消息KEY
     */
    String RECHARGE_KEY = "recharge_key";
    /**
     * 实名认证消息KEY
     */
    String VERIFIED_KEY = "verified_key";
    /**
     * 控线前缀key
     */
    String BOT_ZERO_KEY = "bot_zero_key:";//跟随
    String BOT_ONE_KEY = "bot_one_key:";//插针

    /**
     * 每日提现金额
     */
    String WITHDRAW = "withdraw:";
    /**
     * 现货委托订单定时处理锁KEY
     */
    String LOCKED_CURRENCY_ORDER_KEY = "LOCKED:CURRENCY_ORDER_KEY:";
    /**
     * 永续合约资金费用定时处理锁KEY
     */
    String LOCKED_U_CONTRACT_CAPITAL_FEE_ORDER_KEY = "LOCKED:U_CONTRACT_CAPITAL_FEE_ORDER_KEY:";
    /**
     * 永续合约强平定时处理锁KEY
     */
    String LOCKED_U_CONTRACT_STOP_ORDER_KEY = "LOCKED:U_CONTRACT_STOP_ORDER_KEY:";
    /**
     * 永续合约委托订单定时处理锁KEY
     */
    String LOCKED_U_CONTRACT_ORDER_KEY = "LOCKED:U_CONTRACT_ORDER_KEY:";
    /**
     * 交割合约委托订单定时处理锁KEY
     */
    String LOCKED_J_CONTRACT_ORDER_KEY = "LOCKED:J_CONTRACT_ORDER_KEY:";

    /**
     * 秒合约订单定时处理锁KEY
     */
    String LOCKED_SECOND_ORDER_KEY = "LOCKED:SECOND_ORDER_KEY:";
    /**
     * 资产日统计定时处理锁KEY
     */
    String LOCKED_ASSET_DAY_STATS_KEY = "LOCKED:ASSET_DAY_STATS_KEY:";
    /**
     * 资理财-DeFi借币逾期定时处理锁KEY
     */
    String LOCKED_LEND_ORDER_STATS_KEY = "LOCKED:LEND_ORDER_STATS_KEY:";

    /**
     * 资理财-投资组合到期结算定时处理锁KEY
     */
    String LOCKED_GROUP_ORDER_STATS_KEY = "LOCKED:GROUP_ORDER_STATS_KEY:";
}
